<?php

/*------------------------------------------------------------
 * Page: Index
 * Author: Gustavo Lozano & Fredrik Kronander
 * Description: Main page that include the wanted pages

 *------------------------------------------------------------*/

session_start();

	include "interfaz/menu.php"; 
	$valid_arg=false;

//Sets the requested content as $current_option
	if (isset($_REQUEST['content']))
	{
	   $current_option=$_REQUEST['content']; 
	   $valid_arg = true;
	}
	else 
		$current_option="Home";

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
	<title>UTS Airs</title>
	<link rel="stylesheet" type="text/css" href="css/style.css" />
	<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
	
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js" type="text/javascript"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js" type="text/javascript"></script>
	<script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.8/jquery.validate.js" type="text/javascript"></script>
	<script src="js/jquery.validate.creditcard2-1.0.1.js"></script>
</head>


<body>
<div id="wrapper">
	<div id="masterhead">
		<img src="img/logoutsairs2.png" alt="50" />
		
		<ul id="menu">
			<?php display_menu() ?>
		</ul>
	</div>
	
	<div id="top">
		
	</div>

	<div id="content">
		<div class="insideContent">
		
			<?php 
				include "interfaz/".$menu_options[$current_option][1]; 
			?>
		</div>

		<div class="sidebarRight">
			<a href="index.php?content=YourBookings">Your Bookings</a>
		</div>
	</div>
	

</div>
	<div id="footer">
		<p>Copyright &copy; 2010 No one in particular</p>
	</div>

</body>
</html>

